﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Input;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;

namespace Jok.Client.Portal.ViewModels
{
    [Export]
    public class HeaderViewModel : ViewModel
    {
        [ImportingConstructor]
        public HeaderViewModel()
        {
            AuthorizationCommand = new DelegateCommand<string>(p => MessageBox.Show("asd"));
            //LoadGameCommand = new DelegateCommand<string>(p => EventAggregator.GetEvent<ProcessEvents.EnterGame>().Publish(p));
        }


        #region Commands
        public ICommand AuthorizationCommand { get; set; }
        public ICommand LoadGameCommand { get; set; }

        #endregion

        #region Regions

        #endregion
    }
}